package com.wnzt.baszh.core.base;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * POJO基类，所有POJO（Hibernate实体类�?Model）对象必须继承该�?
 * 
 * @version [版本�? 2013-6-28]
 * @see [相关�?方法]
 * @since [产品/模块版本]
 */
public class BaseModel implements Serializable {

    /**
     * 注释
     */
    private static final long serialVersionUID = 3157193850197376840L;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
    
    /**
     * 主键 UUID
     * String类型  
     * robin.wang 2014-3-28 10:43:26 修改
     */
    private String id;

    /**
     * 是否有效 0:有效 1:无效
     */
    private Integer statusCode;

    /**
     * 软删除标�?0:正常状�? 1:删除状�?
     */
    private Integer deleteFlag;

    /**
     * 创建时间
     */
    private Date createdDtm;

    /**
     * �?��更新�?
     */
    private String lastUserId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Date getCreatedDtm() {
        return createdDtm;
    }

    public void setCreatedDtm(Date createdDtm) {
        this.createdDtm = createdDtm;
    }

    public String getLastUserId() {
        return lastUserId;
    }

    public void setLastUserId(String lastUserId) {
        this.lastUserId = lastUserId;
    }
    
}

